[INFO] cloning repository https://github.com/PAWAN-BORA/rust_server
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PAWAN-BORA/rust_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPAWAN-BORA%2Frust_server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPAWAN-BORA%2Frust_server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0b085a9ce07b9e9ba63a203867743317e4058dcb
[INFO] checking PAWAN-BORA/rust_server against try#901d6c1c62d7c61e05469e996c297476078ee06b for pr-157082
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPAWAN-BORA%2Frust_server" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/PAWAN-BORA/rust_server
[INFO] finished tweaking git repo https://github.com/PAWAN-BORA/rust_server
[INFO] tweaked toml for git repo https://github.com/PAWAN-BORA/rust_server written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/PAWAN-BORA/rust_server on toolchain 901d6c1c62d7c61e05469e996c297476078ee06b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+901d6c1c62d7c61e05469e996c297476078ee06b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/PAWAN-BORA/rust_server already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+901d6c1c62d7c61e05469e996c297476078ee06b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] bb1e501aed789f78bdb0e48dac5f304c52429e7dc305a7b0768b145c41a63d5a
[INFO] running `Command { std: "docker" "start" "bb1e501aed789f78bdb0e48dac5f304c52429e7dc305a7b0768b145c41a63d5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bb1e501aed789f78bdb0e48dac5f304c52429e7dc305a7b0768b145c41a63d5a" "/opt/rustwide/cargo-home/bin/cargo" "+901d6c1c62d7c61e05469e996c297476078ee06b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bb1e501aed789f78bdb0e48dac5f304c52429e7dc305a7b0768b145c41a63d5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bb1e501aed789f78bdb0e48dac5f304c52429e7dc305a7b0768b145c41a63d5a" "/opt/rustwide/cargo-home/bin/cargo" "+901d6c1c62d7c61e05469e996c297476078ee06b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking rust_server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `thread`
[INFO] [stdout]  --> src/http/server.rs:1:72
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, net::TcpListener, sync::{Arc, RwLock}, thread};
[INFO] [stdout]   |                                                                        ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/http/server.rs:3:91
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::{handle_stream::HandleStream, http::{HttpRequest, HttpResponse}, thread_pool::{self, ThreadPool}};
[INFO] [stdout]   |                                                                                           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/http/utils.rs:1:64
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, io::{BufRead, BufReader, Read, Write}, net::TcpStream, path::Path, usize};
[INFO] [stdout]   |                                                                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HttpMethod`
[INFO] [stdout]  --> src/http/utils.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::http::{HttpMethod, HttpRequest};
[INFO] [stdout]   |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thread`
[INFO] [stdout]  --> src/http/server.rs:1:72
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, net::TcpListener, sync::{Arc, RwLock}, thread};
[INFO] [stdout]   |                                                                        ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/http/server.rs:3:91
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::{handle_stream::HandleStream, http::{HttpRequest, HttpResponse}, thread_pool::{self, ThreadPool}};
[INFO] [stdout]   |                                                                                           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/http/utils.rs:1:64
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, io::{BufRead, BufReader, Read, Write}, net::TcpStream, path::Path, usize};
[INFO] [stdout]   |                                                                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HttpMethod`
[INFO] [stdout]  --> src/http/utils.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::http::{HttpMethod, HttpRequest};
[INFO] [stdout]   |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]    --> src/http/http.rs:87:3
[INFO] [stdout]     |
[INFO] [stdout]  85 | pub enum HttpStatusCode{
[INFO] [stdout]     |          -------------- variants in this enum
[INFO] [stdout]  86 |   Success = 200,
[INFO] [stdout]  87 |   Created = 201,
[INFO] [stdout]     |   ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  90 |   BadRequest = 400,
[INFO] [stdout]     |   ^^^^^^^^^^
[INFO] [stdout]  91 |   Unauthorized = 401,
[INFO] [stdout]     |   ^^^^^^^^^^^^
[INFO] [stdout]  92 |   Forbidden = 403,
[INFO] [stdout]     |   ^^^^^^^^^
[INFO] [stdout]  93 |   NotFound = 404,
[INFO] [stdout]  94 |   MethodNotAllowed = 405,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^
[INFO] [stdout]  95 |   NotAcctable = 406,
[INFO] [stdout]     |   ^^^^^^^^^^^
[INFO] [stdout]  96 |   Conflict = 409,
[INFO] [stdout]     |   ^^^^^^^^
[INFO] [stdout]  97 |   InternalServerError = 500,
[INFO] [stdout]  98 |   NotImplemented = 501,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^
[INFO] [stdout]  99 |   BadGatway = 502,
[INFO] [stdout]     |   ^^^^^^^^^
[INFO] [stdout] 100 |   ServiceUnavailable = 503,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]    --> src/http/http.rs:87:3
[INFO] [stdout]     |
[INFO] [stdout]  85 | pub enum HttpStatusCode{
[INFO] [stdout]     |          -------------- variants in this enum
[INFO] [stdout]  86 |   Success = 200,
[INFO] [stdout]  87 |   Created = 201,
[INFO] [stdout]     |   ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  90 |   BadRequest = 400,
[INFO] [stdout]     |   ^^^^^^^^^^
[INFO] [stdout]  91 |   Unauthorized = 401,
[INFO] [stdout]     |   ^^^^^^^^^^^^
[INFO] [stdout]  92 |   Forbidden = 403,
[INFO] [stdout]     |   ^^^^^^^^^
[INFO] [stdout]  93 |   NotFound = 404,
[INFO] [stdout]  94 |   MethodNotAllowed = 405,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^
[INFO] [stdout]  95 |   NotAcctable = 406,
[INFO] [stdout]     |   ^^^^^^^^^^^
[INFO] [stdout]  96 |   Conflict = 409,
[INFO] [stdout]     |   ^^^^^^^^
[INFO] [stdout]  97 |   InternalServerError = 500,
[INFO] [stdout]  98 |   NotImplemented = 501,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^
[INFO] [stdout]  99 |   BadGatway = 502,
[INFO] [stdout]     |   ^^^^^^^^^
[INFO] [stdout] 100 |   ServiceUnavailable = 503,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.38s
[INFO] running `Command { std: "docker" "inspect" "bb1e501aed789f78bdb0e48dac5f304c52429e7dc305a7b0768b145c41a63d5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bb1e501aed789f78bdb0e48dac5f304c52429e7dc305a7b0768b145c41a63d5a", kill_on_drop: false }`
[INFO] [stdout] bb1e501aed789f78bdb0e48dac5f304c52429e7dc305a7b0768b145c41a63d5a
